From 567b96b4fd2d59078856c22ef2eb6deac7031a69 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 22 May 2008 07:41:25 +0000 Subject: [PATCH] Add support for gentoo-freebsd. --- gpsbabel/configure | 5 +++++ gpsbabel/configure.in | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gpsbabel/configure b/gpsbabel/configure index 4e3ea62e6..f2bd7042a 100755 --- a/gpsbabel/configure +++ b/gpsbabel/configure @@ -4354,6 +4354,8 @@ else xpathdr=/sw/include/ fi ;; + *-gentoo-freebsd*) + ;; *-*-freebsd*) if test -f /usr/local/include/expat.h ; then xpathdr=/usr/local/include @@ -4426,6 +4428,9 @@ _ACEOF fi ;; + *-gentoo-freebsd*) + EXPAT_LIB=-lexpa + ;; *-*-freebsd*) if test -f /usr/local/lib/libexpat.a ; then EXPAT_LIB=/usr/local/lib/libexpat.a diff --git a/gpsbabel/configure.in b/gpsbabel/configure.in index 50701149c..c60efabf6 100644 --- a/gpsbabel/configure.in +++ b/gpsbabel/configure.in @@ -225,6 +225,8 @@ AC_ARG_WITH(expathdr, xpathdr=/sw/include/ fi ;; + *-gentoo-freebsd*) + ;; *-*-freebsd*) if test -f /usr/local/include/expat.h ; then xpathdr=/usr/local/include @@ -279,6 +281,9 @@ AC_ARG_WITH(libexpat, AC_SUBST(EXPAT_LIB) fi ;; + *-gentoo-freebsd*) + EXPAT_LIB=-lexpa + ;; *-*-freebsd*) if test -f /usr/local/lib/libexpat.a ; then EXPAT_LIB=/usr/local/lib/libexpat.a -- 2.30.2